//
//  ShopsDetailSetionCell.swift
//  XiaoJingMallSwift
//
//  Created by beisheng03 on 2017/8/8.
//  Copyright © 2017年 beisheng. All rights reserved.
//

import UIKit

class ShopsDetailSetionCell: BaseTableViewCell {
    
    @IBOutlet weak var rightLabel: UILabel!
    
    
    var index : IndexPath?{
        
        didSet{
            
            if index == nil {
                return
            }
            
            
            if index!.row == 4 {
                
                rightLabel.text = "店铺介绍"
                
            } else {
                
                rightLabel.text = "经营品类"

            }
        
        }
    
    
    }

    override func awakeFromNib() {
        super.awakeFromNib()
        contentView.backgroundColor = UIColor.viewBgGrey()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)
        

        // Configure the view for the selected state
    }
    
}

